HAL SPI state and error functions migration ¶
This section provides information about the HAL SPI state and error functions migration.
HAL SPI state function ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_SPI_GetState(const SPI_HandleTypeDef *hspi);
|
HAL_SPI_GetState(const hal_spi_handle_t *hspi);
|
Related concept: Revised and optimized HAL state machine
HAL SPI error function ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_SPI_GetError(const SPI_HandleTypeDef *hspi);
|
HAL_SPI_GetLastErrorCodes(const hal_spi_handle_t *hspi);
|
Related concept: Revised and optimized HAL error management